<template>
  <div class="common-layout">
    <el-container>
      <el-header><Header></Header></el-header>
      <el-container>
        <el-main> </el-main>
        <!-- <el-aside width="200px">Aside</el-aside> -->
      </el-container>
    </el-container>
  </div>
</template>

<script>
// import Header from './header.vue';

import Header from './header.vue';
import Main from './main.vue';
export default {
  components: { Header, Main }
};
</script>

<style scoped>
.common-layout {
  height: 100%;
}
.el-container {
  height: 100%;
  width: 100%;
}

.el-header {
  width: 100%;
  height: 20%;
}

.el-aside {
  background-color: #f4f5;
  color: #333;
  text-align: center;
  line-height: 200px;
  width: 30%;
}

.el-main {
  background-color: #f4f5f5;
  /* color: #333;  */
  text-align: center;
  line-height: 160px;
  width: 70%;
}
</style>
